package com.roadjava.GDOUGym.service;

import com.roadjava.GDOUGym.bean.dto.EquipmentDTO;
import com.roadjava.GDOUGym.bean.dto.EquipmentRentDTO;
import com.roadjava.GDOUGym.bean.res.ResultDTO;

import java.util.List;

public interface EquipmentRentService {
    ResultDTO<List<EquipmentRentDTO>> find(EquipmentRentDTO dto);
    ResultDTO<List<EquipmentDTO>> findCanRent(EquipmentRentDTO dto);
    ResultDTO<String> add(EquipmentRentDTO equipmentDTO);
    ResultDTO<String> addEquipment(EquipmentRentDTO equipmentDTO);
    ResultDTO<String> change(EquipmentRentDTO equipmentDTO);
    ResultDTO<String> delete(EquipmentRentDTO equipmentDTO);
}
